package com.shawn.spring.boot.redis.service;

import com.shawn.spring.boot.redis.entity.CoffeeEntity;
import com.shawn.spring.boot.redis.entity.CoffeeOrderEntity;
import com.shawn.spring.boot.redis.entity.OrderState;

public interface CoffeeOrderService {

  CoffeeOrderEntity createOrder(String customer, CoffeeEntity...coffee);

  boolean updateState(CoffeeOrderEntity order, OrderState state);

}
